package com.lin.fengxiu.vo;

import com.lin.fengxiu.model.Order;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.BeanUtils;

import java.util.Date;

/**
 * @ClassName OrderPureVO
 * @Description TODO
 * @Author wushaopei
 * @Date 2021/4/10 15:07
 * @Version 1.0
 */
@Getter
@Setter
public class OrderPureVO extends Order {

    private Integer period;
//    private Date createTime;

    public OrderPureVO(Order order, Integer period){
        BeanUtils.copyProperties(order, this);
        this.period = period;
    }
}
